package com.uwlaser.service.dto;

import com.uwlaser.annotation.Query;
import lombok.Data;

import java.util.List;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
* @author jinjin
* @date 2020-09-27
*/
@Data
public class LogQueryParam{

    @Query(blurry = "username,description,address,requestIp,method,params")
    private String blurry;

    /** 精确 */
    @Query
    private String logType;

    /** BETWEEN */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Query(type = Query.Type.BETWEEN)
    private List<Date> createTime;


    /** 精确 */
    @Query
    private String productSn;

    /** 精确 */
    @Query
    private String processedMode;

    /** 精确 */
    @Query
    private String deviceCode;

    /** 精确 */
    @Query
    private String operator;
    /** 精确 */
    @Query
    private String username;

    @Query(type = Query.Type.INNER_LIKE)
    private String resultStr;

    @Query(type=Query.Type.RIGHT_LIKE)
    private String url;

    @Query
    private String lineCode;

    @Query(type = Query.Type.INNER_LIKE)
    private String description;


}
